hysop.operator.parameter_plotter module

class hysop.operator.parameter_plotter.ParameterPlotter(name=None, dump_dir=None, update_frequency=1, save_frequency=100, axes_shape=(1,), figsize=(30, 18), visu_rank=0, fig=None, axes=None, **kwds)[source]

Bases: PlottingOperator

Base operator to plot parameters during runtime.

Create the common attributes of all host operators.

All input and output variable topologies should be of kind Backend.HOST and share the same HostEnvironment.

get_axes(pos)[source]
update(simulation, **kwds)[source]
class hysop.operator.parameter_plotter.PlottingOperator(name=None, dump_dir=None, update_frequency=1, save_frequency=100, axes_shape=(1,), figsize=(30, 18), visu_rank=0, fig=None, axes=None, **kwds)[source]

Bases: HostOperatorBase

Base operator for plotting.

Create the common attributes of all host operators.

All input and output variable topologies should be of kind Backend.HOST and share the same HostEnvironment.

apply(**kwds)

Abstract method that should be implemented. Applies this node (operator, computational graph operator…).

draw()[source]
on_close(event)[source]
on_key_press(event)[source]
save(**kwds)[source]
classmethod supports_mpi()[source]

Return True if this operator was implemented to support multiple mpi processes.

abstract update(**kwds)[source]